import request from '@/utils/request'
export function getDbList(params) {
  return request({
    url: '/api/dataexportconf/getDbList',
    method: 'get',
    params
  })
}
export function getTableList(params) {
  return request({
    url: '/api/dataexportconf/getTableList',
    method: 'get',
    params
  })
}
export function update(data) {
  return request({
    url: 'api/dataexportconf',
    method: 'put',
    data
  })
}
export function queryConf(params){
  return request({
    url: '/api/dataexportconf/getByDbTableName',
    method: 'get',
    params
  })
}

export default { getDbList,getTableList,update,queryConf }
